package com.chencs.common.lmadmin.mapper;

import com.chencs.vo.biz.lianmeng.LmCategory;
import com.chencs.vo.biz.lianmeng.LmCategory_item;
import com.chencs.vo.biz.lianmeng.LmProduct;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LmWebProductMapper {

    /**
     *
     */


    List<LmProduct> getProductList();

    List<LmCategory> getLmCategory();

    List<LmCategory_item> getLmCategoryItem(String cid);


    LmProduct findLmProduct(String id);

    LmCategory findLmCategory(String id);

    LmCategory_item findLmCategory_item(String id);


    void insertLmCategory(LmCategory category);

    void updateLmCategory(LmCategory category);

    void insertLmCategory_item(LmCategory_item category_item);

    void updateLmCategory_item(LmCategory_item item);

    void delLmCategory_item(String id);

    void delLmCategory(String id);

}
